<ui:composition
		xmlns="http://www.w3.org/1999/xhtml"
		xmlns:h="http://java.sun.com/jsf/html"
		xmlns:f="http://java.sun.com/jsf/core"
		xmlns:a4j="http://richfaces.org/a4j"
		xmlns:rich="http://richfaces.org/rich"
		xmlns:ui="http://java.sun.com/jsf/facelets"
		xmlns:itdep="http://itdep.bsuir.by/jsf"
		>

	<h:panelGrid columns="2">
		<ui:insert/>
		<h:outputText value="#{personBundle.identity}: " styleClass="fieldName"/>
		<itdep:entitySelectMenu value="#{identityCard.identityCardType}" entityType="identity-card-type"
								styleClass="sizeCopmonent" format="{i18n.description}"/>

		<h:outputText value="#{personBundle.passportPersonalNumber}"/>
		<h:inputText value="#{identityCard.personalNumber}" style="width:150px" maxlength="100"/>

		<h:outputText value="#{personBundle.passportSeria}"/>
		<h:inputText value="#{identityCard.seria}" style="width:150px" maxlength="20"/>

		<h:outputText value="#{personBundle.passportSerialNumber}"/>
		<h:inputText value="#{identityCard.serialNumber}" style="width:150px" maxlength="100"/>

		<h:outputText value="#{personBundle.passportIssueDate}"/>
		<rich:calendar value="#{identityCard.issueDate}" inputSize="14"/>

		<h:outputText value="#{personBundle.passportIssueOrganization}"/>
		<h:inputText value="#{identityCard.issueOrganization}" style="width:150px" maxlength="200"/>

	</h:panelGrid>

</ui:composition>